<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table class="t1" border="1" cellspacing="0">
    <tr>
        <td>收藏夹ID</td>
        <td>商品ID</td>
        <td>商品名</td>
        <td>商品信息</td>
        <td>商品价格</td>
    </tr>
    <tr th:each="favorites : ${favoritesList}">
        <td th:text="${favorites.favoritesId}"></td>
        <td th:text="${favorites.commodity.commodityId}"></td>
        <td th:text="${favorites.commodity.commodityName}"></td>
        <td th:text="${favorites.commodity.commodityComm}"></td>
        <td th:text="${favorites.commodity.commodityPrice}"></td>
    </tr>
</table>
</body>
</html>